package com.contain.collection.list;

import java.util.LinkedList;

public class LinkedList_01 {
    public static void main(String[] args) {
        LinkedList<String> linkedList = new LinkedList<> () ;
        linkedList.add("java");
        linkedList.add("list");
        System.out.println(linkedList.get(0));
        linkedList.remove("list");
        System.out.println(linkedList);
    }
}
